package com.zzyk.main.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyk.main.model.pojo.DeviceHarmonicTotal;
import com.zzyk.main.model.vo.DateAndString;
import com.zzyk.main.model.vo.DeviceOriginDataVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface DeviceHarmonicTotalMapper extends BaseMapper<DeviceHarmonicTotal> {

    List<DateAndString> selectByEIDAndDIDAndParam(@Param("eId") Integer eId, @Param("dId") Integer dId, @Param("param") String param, @Param("bDate") Date bDate, @Param("eDate") Date eDate);

    List<DeviceOriginDataVO> selectByEIDAndDIDAndParamReturnDeviceOriginDataVO(@Param("eId") Integer eId, @Param("dId") Integer dId, @Param("param") String param, @Param("bDate") Date bDate, @Param("eDate") Date eDate);
}